package com.xuhuan.server.business.splitfile.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author huan.xu
 * @Date 2023/6/17 23:31
 * @Description 文件切片参数类
 */
@Data
@ConfigurationProperties(prefix = "file-split")
@Component
public class FileSplitProperties {

    /**
     * 临时目录
     */
    private String tempBasePath;

    /**
     * 基础目录
     */
    private String basePath;
}
